package com.htgd.gardenexpo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author: 王秀田
 * @date: 2024/11/11 16:12
 * @description: TODO
 */
@Data
public class RecommendVO {

    private String newId;

    private String newTitle;

    private String newThumbnail;

    private Integer hit;

    private Integer likeNumber;

    private String type;

    private String typeText;

    private Integer isTop;

    private String releasetime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime endTime;

    private String active;

    private String activeText;

    private Long num;

    private List<String> images;

    private Boolean isLike;

    @ApiModelProperty(value = "报名开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime startDate;

    @ApiModelProperty(value = "报名结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime endDate;

    @ApiModelProperty(value = "地址")
    private String address;

}
